/* Sentinel - IRC Statistical and Operator Services
** support.h - For systems that do not provide these functions
**
** Copyright W. Campbell and others.  See README for more details
** Some code Copyright: Jonathan George, Kai Seidler, ircd-hybrid Team,
**                      IRCnet IRCD developers.
**
** $Id: support.h 8 2010-02-01 21:08:02Z dubkat $
*/

#ifndef SUPPORT_H
#define SUPPORT_H

/* Fixes for broken operating systems */
#ifndef HAVE_STRLCAT
size_t strlcat(char *, const char *, size_t);
#endif

#ifndef HAVE_STRLCPY
size_t strlcpy(char *, const char *, size_t);
#endif

#ifndef HAVE_INET_PTON
int inet_pton(int, const char *, void *);
#endif

#ifndef _ARPA_INET_H
const char *inet_ntop(int, const void *, char *, size_t);
#endif

#if 0
#ifndef AF_INET6
#define AF_INET6 28
#endif
#endif

#endif
